// pages/edit-resume-base/edit-resume-base.js
var util = require('../../utils/util.js');
var qcloud = require('../../vendor/wafer2-client-sdk/index')
var app = getApp();
Page({

  /**
   * 页面的初始数据
   */ 
  data: {
    url: 'https://www.tiaonali.com/tnl-candidate/wechat/trend/candidate/main.page',
    //url:'https://mp.weixin.qq.com/'
    unionid:""
  },

  /*
   生命周期函数--监听页面加载
   */
  onLoad: function () {
    var that =this;
    that.setData({
     unionid:wx.getStorageSync('unionid')
    });

  },

  onShareAppMessage: function (res) {
    var that = this;
    if (res.from === 'button') {
      // 来自页面内转发按钮
    }
    var title = '个人注册';
    return {
      title: title,
      path: 'pages/web-view/web-view',
      data: null,
      success: function (res) {
        // 转发成功
      },
      fail: function (res) {
        // 转发失败
      }
    }
  },
  onShareTimeline: function (res) {
    return {
      title: '个人注册',
      query: ''
    }
  }

})